package br.com.document.job;

import java.util.Map;

public class JobDocumentView implements JobDocument{
	
	private String description;
	private String name;
	private int priority;
	private boolean isActive;
	private boolean isSchedulable;
	
	public JobDocumentView(){
	}
	
	public JobDocumentView(JobDocument job){
		description = job.getDescription();
		name = job.getName();
		priority = job.getPriority();
		isActive = job.isActive();
		isSchedulable = job.isSchedulable();
	}

	@Override
	public int execute(Map<String, Object> params) {
		return 0;
	}

	@Override
	public String getDescription() {
		return this.description;
	}

	@Override
	public String getName() {
		return this.name;
	}

	@Override
	public int getPriority() {
		return this.priority;
	}

	@Override
	public boolean isActive() {
		return this.isActive;
	}

	@Override
	public boolean isSchedulable() {
		return this.isSchedulable;
	}

}
